package com.chenxi.processor;

import org.springframework.beans.BeansException;
import org.springframework.beans.factory.config.BeanFactoryPostProcessor;
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;


/**
 * Bean工厂后置处理器
 */
public class NASBeanFactoryPostProcessor implements BeanFactoryPostProcessor {

	public NASBeanFactoryPostProcessor() {
		System.out.println("0-1、(BeanFactoryPostProcessor)BeanFactory后置处理器...构造方法......");
	}

	@Override
    public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) throws BeansException {
		System.out.println("0-2、(BeanFactoryPostProcessor)BeanFactory后置处理器...接口方法postProcessBeanFactory调用......");
    }

}
